package org.androidpush.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;

import org.androidpush.R;

public class SplashScreen extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
    	Log.d("SplashScreen", "onCreate()...");
    	 
        super.onCreate(savedInstanceState);
        setContentView(R.layout.xml_splashscreen);

        new Handler().postDelayed(new Runnable() {

            @Override
            public void run() {

                Intent intent = new Intent(SplashScreen.this,
                        LoginActivity.class);
                startActivity(intent);
                SplashScreen.this.finish();
            }
        }, 3000);
    }
}
